@layout("/common/_curd/_container.html"){

	<form data-url="${basePath}/${code}/update" method="post" class="form-horizontal" role="form">
		<!-- 表单 -->
		@ var _table="news";
		@ var _key="id";
		@ var _col=[
@			  {name:"", index:"id", type:"hidden",newline:true,length:8},
		@			  {name:"标题", index:"title", type:"text",newline:true,length:8},
		@			  {name:"新闻类型", index:"type", type:"select_104",newline:true,length:8},
		@			  {name:"支部id", index:"d_id", type:"text",newline:true,length:8},
		@			  {name:"封面图", index:"img", type:"imgupload",newline:true,length:8,returnType:"id"},
		@			  {name:"内容", index:"content", type:"ueditor",newline:true,length:8},
		@			  {name:"创建时间", index:"creat_time", type:"laydate",newline:true,length:8},
		@			  {name:"置顶", index:"istop", type:"hidden",newline:true,length:8},
		@			  {name:"作者", index:"author", type:"hidden",newline:true,length:8}
		@		   ];
		@ include("/common/_curd/_edit.html", {"col":_col, "table":_table, "key":_key}){}
		
		<!-- 按钮 -->
		@ include("/common/_curd/_btn.html", {btn_save:"修改", btn_close:"关闭"}) {}
	</form>

@}